package com.upcode.weighing.util;

import java.util.ArrayList;
import java.util.List;

public class ObuHelper {

	
	public static String getObuStatusName(Integer status) {
		if(status == null) {
			return null;
		}
		String statusName = String.valueOf(status);
		
		switch (status.intValue()) {
			case 1: statusName = "正常";break;
			case 2: statusName = "有签挂起";break;
			case 3: statusName = "无签挂起";break;
			case 4: statusName = "有签注销";break;
			case 5: statusName = "无签注销";break;
			case 6: statusName = "标签挂失";break;
			case 7: statusName = "已过户";break;
			case 8: statusName = "维护中";break;			
			case 101: statusName = "核销";break;
			case 102: statusName = "挂起";break;
			case 103: statusName = "未关联扣款渠道";break;
			case 104: statusName = "账户透支";break;
			case 105: statusName = "支付机构限制";break;
		}
				
		return statusName;
	}
	
	
	public static List<String[]> allObuBrandList(){
		List<String[]> list = new ArrayList<String[]>();
		list.add(new String[] {"1","埃特斯"});
		list.add(new String[] {"2","金溢"});
		list.add(new String[] {"3","聚利"});
		list.add(new String[] {"4","东海"});
		list.add(new String[] {"5","航天信息"});
		list.add(new String[] {"6","千方"});
		list.add(new String[] {"7","万集"});
		list.add(new String[] {"8","中兴"});
		list.add(new String[] {"9","握奇"});
		list.add(new String[] {"10","搜林"});
		list.add(new String[] {"11","成谷"});
		list.add(new String[] {"12","云星宇"});
		list.add(new String[] {"13","华虹"});
		list.add(new String[] {"14","黔通电子"});
		list.add(new String[] {"15","通行宝"});
		list.add(new String[] {"16","赛格"});
		
		return list;
	}
	
	
}
